package com.wiken.commentservice.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "order-service")
public interface OrderServiceClient {
    @GetMapping("/orderservice/order-commodity/updateOrderCommodityStatus")
    boolean updateOrderCommodityStatus(@RequestParam(value = "orderCommodityId") String orderCommodityId,
                                       @RequestParam(value="status") Integer status);
}
